package com.love.marriage.TecentIm.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * WuKongIM 用户信息 VO
 * 用于封装用户登录和连接信息
 */
@Data
@Schema(description = "WuKongIM 用户信息")
public class WuKongImUserVo {

    @Schema(description = "用户 Token", type = "String")
    private String token;

    @Schema(description = "IM 服务器地址", type = "String")
    private String imAddr;

    @Schema(description = "用户 ID", type = "String")
    private String userId;

    @Schema(description = "设备标识（0: App, 1: Web, 2: Desktop）", type = "Integer")
    private Integer deviceFlag;

    @Schema(description = "登录状态", type = "Boolean")
    private Boolean loginStatus;

    @Schema(description = "错误信息", type = "String")
    private String errorMessage;
}

